package com.zxm.musicList;

import com.zxm.play.Animation;
import com.zxm.play.AudioPlay;

/**
 * @author :silencezheng
 *琴谱url:https://www.kanpula.com/jianpu/24107.html
 * 《Right Here Waiting》————Richard Marx
 */
public class RightHereWaiting {
    public static void main(String[] args) {
        //伴奏
        String sub =  " 1   5   1+  0   0   0   0   0   5-  2   5   0   0   0   0   0   6-  3   6   0   0   0   0   0   4-  1   4   0   0   5-- 6-- 7-- \n" +
                      " 1-  5-  1   0   0   0   0   0   5-- 2-  5-  0   0   0   0   0   6-- 3-  6   0   0   0   0   0   2-- 6-- 3-  0   0   0   5-- 0 \n" +
                      " 6-- 3-  6-  7-  7-  1   0   0   6-- 3-  6-  7-  7-  1   0   0   1-  5-  2   3   3   0   0   0   6-- 3-  7-  1   1   0   0   0 \n" +
                      " 2-  6-  3   4   4   0   0   0   5-- 2-  5-  7-  2   0   5-- 0   1-  5-  2   3   3   0   0   0   6-- 3-  7-  1   1   0   0   0 \n" +
                      " 2-  6-  3   4   4   0   0   0   6-- 3-  6-  7-  7-  0   0   0   1-  5-  2   3   3   0   0   0   2-  6-  2   4   4   0   0   0 \n" +
                      " 6-- 3-  6-  7-  7-  0   0   0   2-  6-  2   4   4   0   0   0   1-  5-  1   3   3   0   0   0   5-- 2-  5-  7-  7-  0   0   0 \n" +
                      " 6-- 3-  6-  1   1   0   0   0   4-- 1-  4-  6-  6-  0   5-- 0   1-  5-  1   3   3   0   0   0   5-- 2-  5-  7-  7-  0   0   0 \n" +
                      " 6-- 3-  6-  1   1   0   0   0   5-- 2-  5-  7-  7-  0   5-- 0   6-- 3-  6-  7-  7-  1   0   0   6-- 3-  6-  7-  7-  1   0   0 \n" +
                      " 6-- 0   0   0   0   0   0   0";
        //主奏
        String main = " 0   0   0   5+  5+  4+  3+  2+  0   0   0   2+  2+  3+  4+  3+  0   0   0   1+  1+  2+  0   3+  3+  2+  0   1+  0   7   6   5 \n" +
                      " 0   0   0   5   5   4   3   2   0   0   0   2   2   3   4   3   0   0   1   1   0   2   3   4   4   3   0   2   0   1   7-  1 \n" +
                      " 1   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   5   1+  2+  2+  2+  3+  0   0   3+  2+  1+  2+ \n" +
                      " 2+  1+  6   6   0   0   6   7   1+  2+  0   7   7   0   6   5   5   0   0   0   5   1+  2+  2+  2+  3+  0   0   3+  2+  1+  2+ \n" +
                      " 2+  1+  6   6   0   0   6   7   1+  2+  0   7   7   0   1+  1+  1+  0   0   0   1+  2+  3+  4+  4+  3+  1+  1+  2+  2+  1+  6 \n" +
                      " 6   0   0   0   1+  2+  3+  4+  4+  3+  2+  1+  1+  1+  1+  6   5   5   0   0   5+  5+  4+  3+  2+  2+  0   2+  2+  3+  4+  3+ \n" +
                      " 3+  0   1+  1+  1+  2+  0   3+  3+  2+  0   1+  1+  7   6   5   5   0   0   5+  5+  4+  3+  2+  2+  0   0   2+  2+  3+  4+  4+ \n" +
                      " 3+  0   1+  2+  0   3+  0   4+  4+  3+  0   2+  2+  1+  7   1+  1+  0   0   0   0   0   0   0   1+  0   0   0   0   0   0   0 \n" +
                      " 0   0   0   0   0   0   0   0";
        // 播放
        new AudioPlay(280).loadNotes(main).start();
        new AudioPlay(280).loadNotes(sub).start();
        //控制台打印
        new Animation(280).loadNotes(main).start();

    }
}
